package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.GarmentStyle;
import com.youlai.boot.factory.model.form.GarmentStyleForm;

/**
 * 服装款式对象转换器
 *
 * @author youlaitech
 * @since 2025-07-06 16:02
 */
@Mapper(componentModel = "spring")
public interface GarmentStyleConverter{

    GarmentStyleForm toForm(GarmentStyle entity);

    GarmentStyle toEntity(GarmentStyleForm formData);
}